import os
from dotenv import load_dotenv
from sqlalchemy.orm import Session
from ..models.images_model import Images
from fastapi import HTTPException

def get_images_quantity(db: Session) -> int:
    return db.query(Images).count()